package net.dgg.zz.credential.qualificationTransfer.dao;


import net.dgg.zz.credential.qualificationTransfer.entity.QualificationTransferRecord;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 资质审核记录表
 */
@Component
public interface QualificationTransferRecordDao {
    int deleteByPrimaryKey(Long id);

    int insert(QualificationTransferRecord record);

    int insertSelective(QualificationTransferRecord record);

    QualificationTransferRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(QualificationTransferRecord record);

    int updateByPrimaryKeyWithBLOBs(QualificationTransferRecord record);

    int updateByPrimaryKey(QualificationTransferRecord record);

    /*
     * @Author zsx
     * @Date 2018-09-06 06:09:42
     * @Description 根据资质转让id查询资质审核记录
     * @param transferId 资质转让id
     * @return List<QualificationTransferRecord>
     */
    List<QualificationTransferRecord> selectByQualificationTransferId(Long transferId);
}